package org.xb.BuilderDemo;

/**
 * @Author
 * @Description
 * @Date created in 15:04 2023/12/11
 */
public class Client {
    public static void main(String[] args) {
        Director director = new Director();
        ConcreteBuilderA concreteBuilderA = new ConcreteBuilderA();
        ConcreteBuilderB concreteBuilderB = new ConcreteBuilderB();
        director.Construct(concreteBuilderA);
        Product result = concreteBuilderA.getResult();
        result.show();
    }
}
